package org.longteng.security.service;

import org.longteng.dao.model.OauthClient;
import org.longteng.security.vo.AuthorizationUserVo;

import javax.security.auth.message.AuthException;

/**
 * appid与用户帐号验证服务层
 * @author hymn.com
 * @date 2022/12/17 10:00:00
 */
public interface AuthUserService {

    /**
     * 验证客户appid，以便生成token
     * @param authUserVo
     * @return 返回appi的定义与token与过期时间
     */
    public OauthClient verifySignAuthUser(AuthorizationUserVo authUserVo) throws AuthException;
}
